package com.ruoyi.information.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资讯无人机详情详情对象 drone_detail
 * 
 * @author ruoyi
 * @date 2025-05-25
 */
public class DroneDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 无人机名称 */
    @Excel(name = "无人机名称")
    private String name;

    /** 无人机型号 */
    @Excel(name = "无人机型号")
    private String type;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 空机重量（kg 为基准） */
    @Excel(name = "空机重量", readConverterExp = "k=g,为=基准")
    private Long weight;

    /** 最大起飞重量 */
    @Excel(name = "最大起飞重量")
    private Long maxFlyWeight;

    /** 续航时间（/h） */
    @Excel(name = "续航时间", readConverterExp = "/=h")
    private Long useTime;

    /** 品牌 */
    @Excel(name = "品牌")
    private String brand;

    /** 首发价格（￥） */
    @Excel(name = "首发价格", readConverterExp = "￥=")
    private Long price;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }

    public void setWeight(Long weight) 
    {
        this.weight = weight;
    }

    public Long getWeight() 
    {
        return weight;
    }

    public void setMaxFlyWeight(Long maxFlyWeight) 
    {
        this.maxFlyWeight = maxFlyWeight;
    }

    public Long getMaxFlyWeight() 
    {
        return maxFlyWeight;
    }

    public void setUseTime(Long useTime) 
    {
        this.useTime = useTime;
    }

    public Long getUseTime() 
    {
        return useTime;
    }

    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }

    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("type", getType())
            .append("startTime", getStartTime())
            .append("weight", getWeight())
            .append("maxFlyWeight", getMaxFlyWeight())
            .append("useTime", getUseTime())
            .append("brand", getBrand())
            .append("price", getPrice())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
